$('#floor li').on('click', 'img',  function() {
    // console.log(1);
    // console.log(this);
    // console.log($(this));

    if($('#floor li img')[0] === this){
        location.href = 'index.html';
    }
    if($('#floor li img')[1] === this){
        location.href = 'shopCard.html';
    }
    if($('#floor li img')[2] === this){
        location.href = 'login.html';
    }
    if($('#floor li img')[3] === this){
        console.log(1)
        $('body, html').animate({
            'scrollTop': 0,
        },500)
    }
})
